// To get printf note that this is a header file provided by the compiler so the #include uses <>'s
// As a rule of thumb if you didn't write it and you don't know where it is use <>'s otherwise use ""'s
#include <stdio.h>
#define ABS(n) (((n)<0) ? (-(n)) : (n))

// Put your macro here


int main(void)
{
    int x = 1;
    // Test cases from the lab assignment
    printf("ABS(2) = %d\n", ABS(2));
    printf("ABS(2 + 3) = %d\n", ABS(2 + 3));
    printf("ABS(2 + 3) * 5 = %d\n", ABS(2 + 3) * 5);
    printf("ABS(-2.5) = %.1f\n", ABS(-2.5));
    printf("ABS(x) = %d\n", ABS(x));
    printf("ABS(x + 3) = %d\n", ABS(x + 3));
    printf("ABS(x - 3) + 3 = %d\n", ABS(x - 3) + 3);
    printf("ABS(x) + 3 = %d\n", ABS(x) + 3);
    printf("3 * ABS(x - 3) + 3 = %d\n", 3 * ABS(x - 3) + 3);
    
    return 0;
}

